﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MangoMes.Commont.DTOs
{
    /// <summary>
    /// 生产退料单行Dto
    /// </summary>
    public class RejectionsDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int RejectionId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? productManageNode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? productManageName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? productManageNumber { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? unites { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? ProdLot { get; set; }
        /// <summary>
        /// 退料数量
        /// </summary>
        public int RejectCount { get; set; }
        /// <summary>
        /// 接收仓库（仓库ID）
        /// </summary>
        public int StashId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int RejectionStatus { get; set; }
        /// <summary>
        /// 退料单编号
        /// </summary>
        public string? StrippingNode {  get; set; }

        //仓库表
        public string? StashNum { get; set; } //编码
        public string? StashName { get; set; } //仓库名称
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
        /// <summary>
        /// 领料单编号
        /// </summary>
        public string? PickingNode { get; set; }
        /// <summary>
        /// 批次管理（单选框）
        /// </summary>
        public int Batchs { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建日期（默认为当前日期）
        /// </summary>
        public DateTime? productManageTime { get; set; } = DateTime.Now;
        public string? ChargeName { get; set; }
        public string? Position { get; set; }
        public string? WarehouseNote { get; set; }
    }
}
